package com.xjtu.se.homework.client.mainPage;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.sql.Date;

public class PicDto {
    private int u_id;
    private int dev_id;
    static final String AVATAR_DIR = "D:/file";         //图片存储地址
    private String items;                               //API返回值
    private String request_id;
    private String search_id;
    private int ques_class;
    private int ans_num;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date search_time;                             //查询时间
    private String search_image;

    public int getAns_num() {
        return ans_num;
    }

    public Date getSearch_time() {
        return search_time;
    }

    public void setSearch_time(Date search_time) {
        this.search_time = search_time;
    }

    public String getSearch_image() {
        return search_image;
    }

    public void setSearch_image(String search_image) {
        this.search_image = search_image;
    }

    public void setAns_num(int ans_num) {
        this.ans_num = ans_num;
    }

    public int getU_id() {
        return u_id;
    }

    public void setU_id(int u_id) {
        this.u_id = u_id;
    }


    public int getDev_id() {
        return dev_id;
    }

    public void setDev_id(int dev_id) {
        this.dev_id = dev_id;
    }


    public String getItems() {
        return items;
    }

    public void setItems(String items) {
        this.items = items;
    }

    public String getRequest_id() {
        return request_id;
    }

    public void setRequest_id(String request_id) {
        this.request_id = request_id;
    }

    public String getSearch_id() {
        return search_id;
    }

    public void setSearch_id(String search_id) {
        this.search_id = search_id;
    }

    public int getQues_class() {
        return ques_class;
    }

    public void setQues_class(int ques_class) {
        this.ques_class = ques_class;
    }
}
